﻿using eLearning.Util;
using Microsoft.Phone.Controls;

namespace eLearning.DosenView
{
    public partial class DashboardPage2 : PhoneApplicationPage
    {
        public DashboardPage2()
        {
            InitializeComponent();
        }
        
        private void PhoneApplicationPage_BackKeyPress(object sender, System.ComponentModel.CancelEventArgs e)
        {
            base.OnBackKeyPress(e);
            Utility.GotoPage(this, "/Home.xaml");
        }

        private void buttonMahasiswa_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            Utility.GotoPage(this, "/View/Dosen/ListMahasiswaPage.xaml");
        }

        private void buttonAccount_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            Utility.GotoPage(this, "/View/AccountPage.xaml");
        }

        private void buttonPengumuman_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            Utility.GotoPage(this, "/View/PengumumanPage.xaml");
        }

        private void buttonKuliah_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            Utility.GotoPage(this, "/View/Dosen/PerkuliahanPage.xaml");
        }

        private void buttonWiki_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            Utility.GotoPage(this, "/View/WikiPage.xaml");
        }
    }
}